package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.BooleanUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景区信息对象 api_scenic_area
 * 
 * @author duantao
 * @date 2025-07-02
 */
public class ScenicArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 景区ID */
    private Long id;

    /** 景区标题 */
    @Excel(name = "景区标题")
    private String name;

    /** 景区封面图地址 */
    @Excel(name = "景区封面图地址")
    private String img;

    /** 景区描述 */
    @Excel(name = "景区描述")
    private String descStr;

    /** 标准价 */
    @Excel(name = "标准价")
    private BigDecimal price;

    /** 景区视频是否免费（0免费 1付费） */
    @Excel(name = "景区视频是否免费", readConverterExp = "0=免费,1=付费")
    private Boolean chargeStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 视频信息信息 */
    private List<Video> videoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setDescStr(String descStr)
    {
        this.descStr = descStr;
    }

    public String getDescStr()
    {
        return descStr;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public Boolean getChargeStatus() {
        return chargeStatus;
    }

    public void setChargeStatus(Boolean chargeStatus) {
        this.chargeStatus = chargeStatus;
    }

    //    https://dimg04.c-ctrip.com/images/0101e12000h16tsp7FF75_R_1600_10000.jpg,/profile/upload/2025/07/05/殷墟_20250705112340A001.jpg
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<Video> getVideoList()
    {
        return videoList;
    }

    public void setVideoList(List<Video> videoList)
    {
        this.videoList = videoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img", getImg())
            .append("descStr", getDescStr())
            .append("price", getPrice())
            .append("payStatus", getChargeStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("videoList", getVideoList())
            .toString();
    }
}
